package com.cskaoyan.market.admin.service;

import com.cskaoyan.market.db.domain.MarketOrder;
import com.cskaoyan.market.db.vo.MarketChannelVo;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

public interface AdminOrderService {

    // 商品订单查询
    List<MarketOrder> list(Integer page, Integer limit, String sort, String order, LocalDateTime start, LocalDateTime end, List<Short> orderStatusArray, Integer userId, String orderSn);

    // 订单细节
    Map<String, Object> detail(Integer id);

    // 修改订单
    int ship(MarketOrder marketOrder);

    // 修改退款订单
    int refund(MarketOrder marketOrder);

    // 删除订单
    int delete(Integer orderId);

    List<MarketChannelVo> channel();
}
